/*
 * @Author: your name
 * @Date: 2021-04-22 14:49:16
 * @LastEditTime: 2021-04-22 16:07:22
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \chronic-back-end\module\healthyMod\main.go
 */
package healthMod

import (
	"chronic/module/userMod"

	"github.com/gin-gonic/gin"
)

/*Module 健康数据模块 */
func Module(app *gin.Engine) {
	module := app.Group("/health")
	module.POST("/healthData", userMod.Allow(userMod.Patient), postHealthData)
	module.GET("/healthDataHistory", userMod.Allow(userMod.Patient), getHealthDataHistory)
}
